namespace SharpTalk.Client.WpfApplication.ViewModels
{
    using Views;
    using Core.Base;

    public class ControlViewModelBase<T> : PropertyChangedBase
        where T : IControlView
    {
        protected T _view;
        protected ControlViewModelBase(T view)
        {
            _view = view;
            TraceProvider = App.Trace;
        }

        protected internal T View { get { return _view; } }
    }
}